package com.runfast.waimai.dao.model;

import java.io.Serializable;

public class RunfastTransorder implements Serializable {
    private Integer id;

    private Integer askshopperid;

    private String comment;

    private String ordercode;

    private Integer orderid;

    private Integer resshopperid;

    private Integer status;

    private Integer taketype;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastTransorder withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAskshopperid() {
        return askshopperid;
    }

    public RunfastTransorder withAskshopperid(Integer askshopperid) {
        this.setAskshopperid(askshopperid);
        return this;
    }

    public void setAskshopperid(Integer askshopperid) {
        this.askshopperid = askshopperid;
    }

    public String getComment() {
        return comment;
    }

    public RunfastTransorder withComment(String comment) {
        this.setComment(comment);
        return this;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public String getOrdercode() {
        return ordercode;
    }

    public RunfastTransorder withOrdercode(String ordercode) {
        this.setOrdercode(ordercode);
        return this;
    }

    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode == null ? null : ordercode.trim();
    }

    public Integer getOrderid() {
        return orderid;
    }

    public RunfastTransorder withOrderid(Integer orderid) {
        this.setOrderid(orderid);
        return this;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public Integer getResshopperid() {
        return resshopperid;
    }

    public RunfastTransorder withResshopperid(Integer resshopperid) {
        this.setResshopperid(resshopperid);
        return this;
    }

    public void setResshopperid(Integer resshopperid) {
        this.resshopperid = resshopperid;
    }

    public Integer getStatus() {
        return status;
    }

    public RunfastTransorder withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTaketype() {
        return taketype;
    }

    public RunfastTransorder withTaketype(Integer taketype) {
        this.setTaketype(taketype);
        return this;
    }

    public void setTaketype(Integer taketype) {
        this.taketype = taketype;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", askshopperid=").append(askshopperid);
        sb.append(", comment=").append(comment);
        sb.append(", ordercode=").append(ordercode);
        sb.append(", orderid=").append(orderid);
        sb.append(", resshopperid=").append(resshopperid);
        sb.append(", status=").append(status);
        sb.append(", taketype=").append(taketype);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}